package com.sensor.work.entity;

import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: 异常数据
 * @Author: jeecg-boot
 * @Date:   2024-11-07
 * @Version: V1.0
 */
@Data
@TableName("qc_data")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)

public class QcData implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.ASSIGN_ID)
    private java.lang.String id;

	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private java.util.Date createTime = new Date();
	/**观察时间*/
	
	@JsonFormat(timezone = "GMT+8",pattern = "yyyyMMddHHmmss")
    @DateTimeFormat(pattern="yyyyMMddHHmmss")

    private java.lang.String tt;
	/**设备号*/
	

    private java.lang.String snCode;
	/**设备名称*/
	

    private java.lang.String deviceName;
	/**设备站名*/
	

    private java.lang.String devicePoint;
	/**站台号*/

	/**异常要素*/
    private java.lang.String exceptionField;

	/**异常值*/
    private java.lang.String exceptionValue;


	/**数据类型*/
    private java.lang.String dataType;


	/**质控码*/
    private java.lang.String qcCode;

	/**历史数据ID*/
    private java.lang.String dataId;

	/**异常原因*/
    private java.lang.String reason;

    /**接收时间*/
    @TableField("timestamp")
    private String timestamp;
}
